package com.yigang.dao;

import java.util.List;

import com.yigang.entity.OrderAndProduct;
import com.yigang.entity.Theorder;
/**
 * @author 陈佳祥
 *订单
 */
public interface TheorderMapper {
	Theorder selectTheorderByid(int theorderId);//查询条数
	List<Theorder> selectTheorderList(Theorder record);//查询所有
	int deleteByPrimaryKey(Integer theorderId);//删除
	int insertSelective(Theorder record);//添加
	int updateByPrimaryKeySelective(Theorder record);//修改
	
	List<OrderAndProduct> selectOrderAndProduct (OrderAndProduct orderAndProduct);//获取订单和商品
}
